<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8" />
    <meta content="width=device-width,initial-scale=1.0, minimum-scale=1.0, maximum-scale=1.0, user-scalable=no" name="viewport">
    <meta content="IE=edge,chrome=1" http-equiv="X-UA-Compatible">
    <meta content="telephone=no" name="format-detection">
    <link rel="stylesheet" href="__PUBLIC__/wechat/css/global.css" />
    <link rel="stylesheet" href="__PUBLIC__/wechat/css/main.css" />
    <title>优惠券详情</title>
</head>
<body class="bg_f5f5f5">
    <div class="all_top">
        <div class="all_top_main">
            <a href="javascript:history.go(-1);" class="all_top_back"></a>
            <p class="all_top_tit t_c">优惠券详情</p>
        </div>
    </div>
    <div class="coupon_detail">
        <p class="coupon_detail_tit">优惠券详情</p>
        <div class="coupon_content">凭此券可以9折优惠购买中华保险1份</div>
        <p class="coupon_detail_tit">使用须知</p>
        <div class="coupon_content">
            <p>凭此券可以9折优惠购买中华保险1份</p>
            <p>凭此券可以9折优惠购买中华保险1份</p>
        </div>
        <p class="coupon_detail_tit">联系我们</p>
        <div class="coupon_content">
            客服
            <span class="f_r">
                0000000000
            </span>
        </div>
    </div>
    
    
</body>
</html>
<script type="text/javascript" src="__PUBLIC__/wechat/js/jquery-1.11.0.min.js"></script>
<script type="text/javascript" src="__PUBLIC__/wechat/js/public.js"></script>
<script type="text/javascript" src="__PUBLIC__/wechat/js/jquery.validate.min.js"></script>
<script type="text/javascript" src="__PUBLIC__/wechat/js/jquery-validate-methods.js"></script>
<script type="text/javascript">
    $(document).ready(function(){
        $('#forms').validate({//表单验证
            rules: {
                _name: {
                    required: true
                },
                _phone: {
                    required: true
                },
                _address: {
                    required: true
                }
            },
            messages: {
                _name: {
                    required:'请填写姓名'
                },
                _phone: {
                    required:'请填写联系电话'
                },
                _address: {
                    required:'请填写联系地址'
                }
            },  
            showErrors: function(errorMap, errorList) { 
                $.each( errorList, function(i,v){
                    if(v.message!=""){
                        openWarningBox(v.message);
                        return false;
                    }
                });  
            },
            /* 失去焦点时不验证 */
            onfocusout: false
        });
    });
</script>
